using System.Collections;
using System.Collections.Generic;
using UnityEngine;

[CreateAssetMenu(menuName ="LogManager/Filter/LogFilter_Type")]
public class LogFilter_Type : ILogFilter
{
    public List<LogType> logTypeList;
    public override bool PassFilter(string condition, LogType logType)
    {
        if (logTypeList == null
            || logTypeList.Count == 0)
            return false;
        return logTypeList.Contains(logType);
    }
}
